package com.sgl.gk.service;

import com.sgl.common.core.domain.AjaxResult;
import com.sgl.gk.controller.vo.GkSparePartsVo;
import com.sgl.gk.controller.vo.GkStationConfigurationVo;
import com.sgl.gk.domain.GkStationConfiguration;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface GkStationConfigurationService {
    List<GkStationConfigurationVo> list(GkStationConfiguration gkStationConfiguration);

    int add(GkStationConfiguration gkStationConfigurations);

    AjaxResult edit(GkStationConfiguration gkStationConfiguration);

    AjaxResult removeByIds(Long[] ids);

    AjaxResult editList(GkStationConfiguration[] gkStationConfigurations);


    List<GkStationConfigurationVo> export(GkStationConfiguration gkStationConfiguration);

    List<GkSparePartsVo> repairRecord(String barCode);

    void exportRepairRecord(String barCode, HttpServletResponse response, HttpServletRequest request);

    AjaxResult setParameters(GkStationConfiguration[] gkStationConfigurations, Long templateId);

    AjaxResult listByProductLineId(Long productLineId);
}
